package com.chen.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {

    private Integer id;

    private String content;

    private String username;

    private Integer targetId;

    private Integer fatherId;

    private String createDate;

    private String title;

    private CommentUser commentUser;

    private CommentUser targetUser;

    private List<Comment> childrenList;
}
